<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登入</title>
    <style>
        label{
            width:80px;
            text-align: right;
            display: inline-block;
        }
        </style>
<body>
    <form action={{ request.path }} method="post">
        <p>
            <label for="username">用户名:</label>
            <input id="usename" name="user" type="text"/>
        </p>
        <p>
            <label for="username">密码:</label>
            <input id="password" name="pwd" type="password"/>
            <input type="submit" value="提交" />
            <span style="color: #ff0000;">{{ error_msg }}</span>
        </p>
    </form>
</body>
</html>